Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A suggested text about a push stream after a CANCEL_PUSH #3699

Closed
wants to merge 1 commit into from

Conversation

ddragana
Copy link
Contributor

I found this while reading the draft. I think the text is a bit misleading. The current test suggests that this is a server error, but it may not be a server error:

If a push stream arrives after a client has sent CANCEL_PUSH, this MAY be treated as a stream error of type H3_STREAM_CREATION_ERROR.

This PR is just a propose text that make this more clear and changes the error code.

Copy link
Member

@martinthomson martinthomson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So the problem here is that this is one-sided. A server has a similar issue. If it decides to cancel, then it might have created the stream, so it needs to reset the stream too.

has already received a corresponding push stream. If a push stream arrives
after a client has sent CANCEL_PUSH, this MAY be treated as a stream error of
type H3_STREAM_CREATION_ERROR.
has already received a corresponding push stream. A push stream may arrive
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
has already received a corresponding push stream. A push stream may arrive
has already received a corresponding push stream. A push stream could arrive

@martinthomson martinthomson added -http editorial An issue that does not affect the design of the protocol; does not require consensus. labels May 27, 2020
@MikeBishop
Copy link
Contributor

This overlaps the change in #3700. I've cherry-picked it into that branch and we'll address them together. I believe that will also address @martinthomson's comment, since #3700 already discusses the server side.

@MikeBishop MikeBishop closed this May 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
-http editorial An issue that does not affect the design of the protocol; does not require consensus.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants